package so.sao.shop.supplier.domain;

import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>Version: supplier V1.2.0 </p>
 * <p>Title: AccountCheckingCommodity</p>
 * <p>Description: 财务商品对账</p>
 *
 * @author: chensha
 * @Date: Created in 2017/11/22 10:20
 */
public class AccountCheckingCommodity {

    /**
     * id
     */
    private Long id;

    /**
     * 商品名称
     */
    private String commName;

    /**
     * 商品条码
     */
    private String code69;

    /**
     * 规格值
     */
    private String ruleVal;

    /**
     * app订货价
     */
    private BigDecimal unitPrice;

    /**
     * 商品数量
     */
    private Long commQuantity;

    /**
     * 商品金额小计
     */
    private BigDecimal subtotal;

    /**
     * 收款类型： 0.预收款  1.银货两讫
     */
    private Integer receiptType;

    /**
     * 对账记录id
     */
    private Long recordId;

    /**
     * 创建时间
     */
    private Date createdAt;

    /**
     * 更新时间
     */
    private Date updatedAt;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCommName() {
        return commName;
    }

    public void setCommName(String commName) {
        this.commName = commName;
    }

    public String getCode69() {
        return code69;
    }

    public void setCode69(String code69) {
        this.code69 = code69;
    }

    public String getRuleVal() {
        return ruleVal;
    }

    public void setRuleVal(String ruleVal) {
        this.ruleVal = ruleVal;
    }

    public BigDecimal getUnitPrice() {
        return unitPrice;
    }

    public void setUnitPrice(BigDecimal unitPrice) {
        this.unitPrice = unitPrice;
    }

    public Long getCommQuantity() {
        return commQuantity;
    }

    public void setCommQuantity(Long commQuantity) {
        this.commQuantity = commQuantity;
    }

    public BigDecimal getSubtotal() {
        return subtotal;
    }

    public void setSubtotal(BigDecimal subtotal) {
        this.subtotal = subtotal;
    }

    public Integer getReceiptType() {
        return receiptType;
    }

    public void setReceiptType(Integer receiptType) {
        this.receiptType = receiptType;
    }

    public Long getRecordId() {
        return recordId;
    }

    public void setRecordId(Long recordId) {
        this.recordId = recordId;
    }

    public Date getCreatedAt() {
        return createdAt;
    }

    public void setCreatedAt(Date createdAt) {
        this.createdAt = createdAt;
    }

    public Date getUpdatedAt() {
        return updatedAt;
    }

    public void setUpdatedAt(Date updatedAt) {
        this.updatedAt = updatedAt;
    }
}
